The Cubs were trailing 3-2 in the bottom of the ninth when Tony Campana laced a one-out double off Javy Guerra, scoring Ian Stewart to tie it up.
DeJesus, trying to score a second run on the play, was thrown out at the plate to end the inning, but he would get a chance to redeem himself in the 11th.
Darwin Barney led off the frame with a double off Jamey Wright (1-2) and Welington Castillo was intentionally walked to get to pitcher Rafael Dolis. Jeff Samardzija came up as a pinch-hitter and Wright hit him with a pitch to load the bases.
The next batter, DeJesus, worked the count to 3-and-2 before taking a pitch low and inside for a base-on-balls, forcing in the winning run.
Dolis (2-2) earned the victory with two scoreless innings for the Cubs, who took two of three in their home series with the Dodgers.
Juan Rivera went 3-for-5 with a two-run homer for the National League West-leading Dodgers.