Pettitte won for the eighth time in his last 10 decisions, leading the Houston Astros over the Brewers 8-3 in the finale of a disappointing homestand.
"After we scored five runs, I just got out of whack," Pettitte said. "I don't know why. It was frustrating for us to score five and I go right back out and give them two runs. They were right back in the game then. I was just missing and not throwing quite as
many strikes as I'd like."
Pettitte (11-9) allowed two runs and four hits in seven innings and struck out six, improving to 8-2 in his last 12 starts.
"I thought he had a good game," Astros manager Phil Garner said. "I don't think he had that good control like he usually does, but he had good finish on his pitches. And he still held them to just two runs."
Pettitte hit a batter for only the second time this season and walked two.
"He had good velocity and did a real good job all day," catcher Brad Ausmus said. "He lost the feeling for his mechanics in the middle innings but for the most part he did what he always does, hold them down."
Chris Burke hit a three-run homer and doubled twice, tying his career high for hits and RBI. Houston, which went 6-7 on the homestand, remained a half-game behind Philadelphia in the NL wild-card race. The Astros have the most home wins in the major leagues, going 42-22 in Houston.
"It wasn't exactly what I wanted," Garner said of the homestand. "It's good to end on a winning note, but I had expected better."
Victor Santos (4-12) gave up seven runs and nine hits in 3 1/3 innings.
"When you give Andy Pettitte five runs you're probably going to be in trouble," Milwaukee manager Ned Yost said. "More often than not, you're not going to get a big inning off him so you've got to stay close."
Adam Everett's two-run homer in the second and Burke's homer in the third gave Houston a 5-0 lead. Everett has 10 homers, a career high.
Geoff Jenkins hit a two-run double to the top of the hill in straightaway center field in the fourth.
Craig Biggio scored twice to tie Mickey Mantle for 24th on the runs list with 1,677. ... Vizcaino started at third base for the first time this season and committed two errors in the first four innings. Vizcaino had started eight games at both first and second and seven games at shortstop. ... With 12 road games remaining, the Brewers are one short of matching their 2004 road wins total of 31.