MILWAUKEE -- As last-second, game-winning 3-pointers go, this one wasn't the prettiest.
At this point, the Bulls will take whatever offense they can get.
Dunleavy said he had to change the angle of his shot to avoid the reach of his defender, 6-foot-11 forward John Henson.
"He's so long so if I would have shot my normal shot, he might have got a piece of it," Dunleavy said. "So basically what I'm saying is, I took a bad shot and it went in."
Trailing by two in the final seconds, Chicago came up with a tie-up on the defensive end and won the jump ball, allowing Dunleavy to hit a high-arching 3 that banged off the glass, then in, for the lead.
Noah then blocked O.J. Mayo's shot to preserve the lead -- and a victory that appeared unlikely just seconds before.
"You could see his rhythm coming offensively," Bulls coach Tom Thibodeau said of Noah. "Defensively, he's been terrific from the start of the season but offensively, you can see his timing is back."
Noah scored 21 points and grabbed 18 rebounds -- both season highs -- for the Bulls, who ended a three-game losing streak. Chicago scored fewer than 80 points in all three of those losses -- including one to Milwaukee in Chicago on Tuesday.
Jimmy Butler scored 16 points in his return from injury for Chicago.
"I felt all right," Butler said. "Rusty. Out of shape. Terrible. But I'm glad my guys pulled this win out."
Carlos Boozer scored 14 points and added 12 rebounds.
Gary Neal scored 17 points and Henson added 15 for the Bucks, who appeared to have the game won when Khris Middleton hit a desperation shot with 29.8 seconds left. Instead, it was another disappointment.
"It wasn't even really supposed to get to that point, but we made some mistakes, critical mistakes, and that's what happens," Henson said.
And to make matters worse for the Bucks, a crowd filled with traveling Bulls fans made it sound like a home game at times for Chicago -- especially at the end, when Dunleavy's shot set off a thunderous ovation.
That's not a new phenomenon when the Bulls visit Milwaukee -- but to Henson, it is somewhat annoying.
"A little bit, man," Henson said. "But, hey, they're an hour away. It was a Bulls crowd."
Milwaukee went on a 12-4 run to take an 11-point lead with 7:37 remaining. The Bulls chipped away at the lead, but Henson passed to a wide-open Ekpe Udoh on the baseline and Udoh delivered an emphatic dunk for an 88-83 lead with 1:30 left.
Mayo then fouled Dunleavy on a three-point attempt, and Dunleavy hit all three free throws to cut the lead to two. After a Milwaukee miss, Boozer made a game-tying jumper with 54.9 seconds left.
Middleton then hit a desperation shot with the clock running out, giving Milwaukee a two-point lead. Butler was called for traveling on the other end and the game appeared to be all but over -- but it was only setting the stage for Dunleavy's big moment.
"He hit a tough shot," Bucks coach Larry Drew said. "It wasn't an easy shot. It was a contested shot. But I'll say it again: It should not have come down it (that). We were in position where we should have closed that game out."
While Derrick Rose's season-ending knee injury has garnered the most attention, it hasn't been the only critical injury for Chicago this season.
Butler missed 11 games because of a toe injury and the Bulls are still without Luol Deng, who remains sidelined with a sore left Achilles.
Chicago added some depth earlier in the day Friday, signing free agent guard D.J. Augustin. Augustin was scoreless in 11-plus minutes in his Bulls debut.
Drew said guard/forward Carlos Delfino will have surgery on his right foot in his native Argentina on Saturday. There is no timeline for his return. . Larry Sanders has been fitted with a protective glove and cleared to resume some basketball activities, but there is no timeline for his return from a thumb injury. ... Thibodeau said Deng is feeling better and could be available for Saturday's game.