A bullpen that began the road trip in flux ends it having bought the Cardinals enough time to take a lead and holding it tight once they did.

The Cardinals received 3 2/3 innings of scoreless relief on their way to a 5-4 victory Wednesday afternoon at Wrigley Field.

The Cardinals trailed by as much as two runs in the game, but they steadily pieced together enough offense to climb into a tie and eventually take the lead. Jon Jay's RBI single in the eighth inning scored Yadier Molina from second for the game-winning run against the Cubs' bullpen. Molina had taken second base on a wild pitch from Michael Bowden.

Jay's RBI single was his second RBI of the game. Carlos Beltran had three hits and two RBIs in the game as well. He was robbed of a fourth in the game when the Cubs' right fielder made a diving catch on a line drive in the top of the ninth.

Maness, who made his debut Friday, collected his second big-league win.

The rookie righty got a double play ball on his first pitch of the game, and then he pitched around trouble in the seventh inning to maintain a 4-4 tie.

Edward Mujica pitched a perfect ninth for his ninth save.

The teams combined to turn eight double plays through eight innings. The Cardinals' turned theirs with timing as well as dexterity.

Three of the Cardinals' first four double plays came with a runner in scoring position. Two came with a runner at third trying to make the trek home. The double play meant the runner wouldn't count by ending the inning.