As he passed by his coach en route to the locker room, Nik Vucevic had advice for Jacque Vaughn in his postgame hallway media scrum. "Nik was great!" roared Vucevic, cracking up Vaughn.

Inside, Vucevic was met by Jameer Nelson, who blasted a Jay-Z tune. Rookie Victor Oladipo danced and sang along. Glen Davis was laughing about putting all of his 290 pounds into another 3-point shot.

This is what a winning dressing room looked and sounded like Wednesday night. It had been a long time since the Magic enjoyed such revelry.

The Magic (7-15) broke a six-game losing streak and salvaged something from a miserable 12-day road trip, beating the Charlotte Bobcats 92-83 on Wednesday night at Time Warner Cable Arena.

"Man, we needed it big time," Davis said.

Vaughn told his players before the final game of the trip that he needed every man to do his job — no more, no less.

"Coach said, 'Just do your part' and everything will take care of itself," Nelson said.

The Magic fulfilled their assignments: Seven players finished in double figures, each one applying a fingerprint on the first win since Nov. 27. The club also re-introduced themselves to the long-lost concept of defense.

Davis and Nelson had 17 points each, Arron Afflalo 16, and Vucevic 12 while Victor Oladipo, Andrew Nicholson and E'Twaun Moore all had 10 apiece. And the Magic made sure the Bobcats finished a chilly 36.9 percent from the field.

The Magic had lost in succession to San Antonio, Washington, Philadelphia, New York, Houston and Memphis before getting back into the win column.

On a night Vucevic returned from a sprained ankle that had kept him out of four games — and discombobulated the offense — Nelson steered the victory to port.

After a forgettable first half in which he was 0-for-6 with three turnovers, he scored all of his 17 points in his final two error-free periods.