Ainsworth's side played against ten men for over half of the match a man after veteran striker Jamie Cureton was sent off for needlessly kicking out at Anthony Stewart in the 40th minute.
Wycombe then blew a great chance to take the lead when Joel Grant's weak penalty was stopped by Artur Krysiak.
The visitors eventually snatched the points when Jordan Archer parried John O'Flynn's low shot only for 17-year-old Kortney Hause to dribble into his own net.
"I'm gutted for the boys because they put so much effort in lately, but I've let them have it a little bit because we didn't do enough to win the game," he said.
"We didn't deserve to win but a lack of concentration and professionalism has cost us in the end so it's a learning thing few the young players.
"We seemed to drop a little bit deep in the second half and I don't know why - that's something we'll have to look at.
"We didn't attack like we've been doing at home lately and also it's the strongest squad I've put out in a while and we get beat by ten men.
"Sometimes it doesn't feel like it is ten men because when all they lose is an attacker, you pick up the ball pretty easy in your half, but when you attack they're still getting nine outfield players behind the ball."