It seemed like the Milwaukee Bucks were stuck on 6 points for a long time in the first quarter Tuesday night.

But a slow start gave way to a fantastic finish as the Bucks matched a season-high point total in a 117-90 rout of the Detroit Pistons at the Palace of Auburn Hills.

Bucks guard Brandon Jennings went on a tear in the third quarter, dropping in three-pointers from all angles and scoring 20 of his game-high 30 points.

But the Bucks (24-19) got contributions from many sources as they finally moved five games above .500 on their fourth attempt.

Ekpe Udoh matched the energy and physicality of Detroit's big men in the second quarter, helping the Bucks fight back from an early 15-point deficit to take a 52-42 halftime lead.

Samuel Dalembert recorded a double-double with 12 points and 10 rebounds.

Beno Udrih pitched in with a game-high 11 assists, and Mike Dunleavy scored 17 points and had five rebounds.

Monta Ellis had 14 points and six steals. Rookie forward John Henson added 11 points and six rebounds in 25 minutes after not playing at all Saturday against Golden State.

It added up to the Bucks' first victory against Detroit (17-28) in three meetings this season.

"Our energy in that second quarter with that group set the tone for us," coach Jim Boylan said. "It got everybody's blood going a little bit.

"We got 59 points off our bench, which is tremendous. And Brandon's play in the third quarter, what do you say about that other than 'wow.' To come out firing like that, it takes the life out of the opposing team."