The Borussia Dortmund striker netted after 19 and 80 minutes, capitalising on two excellent passes from Adam Matuszczyk.
Ludovic Obraniac was also on target in the 65th minute for Poland, who will jointly host Euro 2012 with Ukraine.
Ivory Coast, without Chelsea strikers Didier Drogba and Salomon Kalou, pulled one back through Gervinho in the last minute of the first half.
Poland have struggled recently, winning four times in 15 games under coach Franciszek Smuda.
Smuda took over after they failed to qualify for the 2010 World Cup.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.