The visitors went ahead when Matt Harrold drilled in a penalty after handball by Stuart Campbell, but Chris Lines' free-kick drew Rovers level.
Before half-time, Lines struck again with a superb shot, but Alex Revell netted Wycombe's second penalty after a Danny Coles foul to level.
Beavon came up with the winner on 80 minutes, powerfully heading home.
BBC