"We went to the small ground attack there," Padres manager Bud Black said. "That was a great bunt (by Cashner), and those two doubles were huge hits."
That marked the end of the line for Gorzelanny, who was charged with a season-high five runs on five hits and three walks with six strikeouts in 5 2/3 innings.
Cashner (6-5) won for the first time since June 11. He held Milwaukee to three runs on three hits and three walks with six strikeouts in six innings.
Dale Thayer and Luke Gregerson combined to keep the Brewers off the board in the seventh and eighth innings, and Huston Street worked a perfect ninth for his 17th save of the season.
NOTES: Milwaukee recalled OF Khris Davis from Triple-A Nashville to replace Braun on the roster. ... Padres RHP Jason Marquis will miss the remainder of the season due to a damaged ulnar collateral ligament in his right elbow. With RHP Tyson Ross returning to San Diego's rotation Tuesday, RHP Sean O'Sullivan will start Wednesday in place of Marquis, who was placed on the disabled list Sunday. ... Brewers CF Carlos Gomez missed his second straight game with a sore shoulder and elbow. ... Guzman's second-inning home run snapped a franchise-record 36 scoreless innings thrown by Brewers pitchers.