ORLANDO, Fla. — Dwight Howard had 24 points and 18 rebounds, J.J. Redick scored 20 points and the Orlando Magic beat Miami 104-95 on Wednesday night to hand the Heat's All-Star trio its first three-game losing streak.

ORLANDO, Fla. — Dwight Howard had 24 points and 18 rebounds, J.J. Redick scored 20 points and the Orlando Magic beat Miami 104-95 on Wednesday night to hand the Heat's All-Star trio its first three-game losing streak.

Jameer Nelson had 17 points and a career-high 14 assists, coming up with some big shots late to help Orlando pull away and avenge a 26-point loss at Miami earlier this season.

LeBron James had 25 points, Chris Bosh finished with 21 and Dwyane Wade scored 18 for Miami, which also lost to Memphis and Indiana in the last week.

Celtics 89, Nets 83

At Boston, Shaquille O'Neal scored a season-high 25 points, even hitting four straight free throws in the fourth quarter as Boston came back to beat New Jersey.

Paul Pierce scored 18 and Ray Allen had 15 points and seven assists for the defending Eastern Conference champions, who have won consecutive games after losing two straight for the first time all season.

Bulls 123, Suns 115, 2OT

At Phoenix, Derrick Rose scored 35 points and hit numerous big shots, helping road-weary Chicago rally from a 23-point, second-quarter deficit to beat Phoenix.

Luol Deng contributed 26 points and 10 rebounds for the Bulls. Reserve Kyle Korver scored 24 and Joakim Noah had 17 points and 15 rebounds.

Spurs 113, Timberwolves 109, OT

At Minneapolis, Manu Ginobili scored 14 of his 26 points in the fourth quarter to rally San Antonio from 21 points down past Minnesots for its 12th straight victory.

Richard Jefferson added 19 points and Tony Parker had 18 points and six assists for the Spurs, who are an NBA-best 13-1.

Jazz 105, Hornets 87

At Salt Lake City, Deron Williams had 26 points and 11 assists, Al Jefferson and Paul Millsap provided big plays down the stretch, and Utah beat New Orleans.

Williams had eight assists in the first quarter, and 14 points by halftime. Jefferson then scored 10 fourth-quarter points as the Jazz (11-5) turned a five-point game into a rout.

Knicks 99, Bobcats 95

At Charlotte, N.C., Raymond Felton had 23 points and 13 assists against his former team, Amare Stoudemire added 20 points and six blocks, and New York beat Charlotte for its fifth straight win.

With New York leading by two, Felton ripped a rebound away from Tyrus Thomas. Danilo Gallinari then hit the clinching free throws with 5 seconds left for the Knicks, who reached .500 and secured their longest winning streak since the 2005-06 season.

Mavericks 111, Thunder 103

At Oklahoma City, Dirk Nowitzki scored 34 points, Tyson Chandler had season highs with 17 points and 18 rebounds, and Dallas charged past Oklahoma City in the fourth quarter.

Nowitzki and Jason Terry teamed to score 10 straight points in a 57-second span to put Dallas up for good midway through the final period, and the Mavericks sealed it with a 12-0 run.

Cavaliers 83, Bucks 81

At Cleveland, Mo Williams dropped a 15-foot jumper over Milwaukee's Brandon Jennings as time expired as Cleveland snapped a three-game losing streak.

Williams, who finished with 25 points, drove left before pulling up and hitting his step-back jumper as the horn sounded.

Rockets 111, Warriors 101

At Houston, Kevin Martin scored 25 points and Houston held off foul-prone Golden State to snap a four-game losing streak.

The Rockets took advantage of the Warriors' fouls, hitting 39 of 51 free throws. Golden State has lost six of its last seven games after starting the season 6-2.

Grizzlies 105, Pistons 84

At Memphis, Tenn., Zach Randolph had 21 points and 14 rebounds, Rudy Gay added 17 points, and Memphis used a third-quarter spurt to beat Detroit.

Mike Conley and Darrell Arthur added 14 apiece for Memphis, which won its second straight and snapped Detroit's five-game road winning streak in the series.

Raptors 106, 76ers 90

At Toronto, Andrea Bargnani scored 24 points, Reggie Evans had a career-high 22 rebounds and a season-high 12 points and Toronto extended its winning streak to four games.

Jose Calderon had 16 points and nine assists, newcomer Jerryd Bayless added 13 points, Leandro Barbosa had 11 and the Raptors matched a season high with nine 3-pointers.