Matt Holliday and Jhonny Peralta each hit solo shots in the ninth off reliever Jim Henderson for the Cardinals, who handed Milwaukee its second straight loss following a nine-game winning streak.
Miller (1-2) routinely fired fastballs clocked into the mid-90s past hitters before turning the game over to the bullpen in the seventh.
Only Aramis Ramirez managed to break through off Miller hitting a solo homer in the fourth. The Brewers have just one run and six hits over the first two games of the three-game set with their NL Central rival.
Marco Estrada (1-1) took the loss after allowing three runs over six innings.