Defender Olexandr Kucher deflected a cross from Juve's Sebastian Giovinco into his own net in the 56th minute to give the Italians the win.
Juventus defender Kwadwo Asamoah nearly got an own goal himself later in the second half as he turned to deal with a Razvan Rat cross, but struck the post.
The victory gave Juventus 12 points and took them through with Shakhtar. Holders Chelsea finished third, despite having the same points as the Ukrainians, thanks to a poorer head-to-head tally, and were sent off to the Europa League. (Reporting by Igor Nitsak; Editing by Clare Fallon)