The attacker emerged the hero of the matchday 10 visit to Charlton Athletic as his 65th-minute strike helped earn a 2-1 away triumph at The Valley.
The win has placed the Jack Army at the top of the league table.
“Andre is playing well, I have to say,” said Cooper after the game.
“I thought he was good against Reading and I know he was disappointed not to score with the chance he had, and the one the week before at Bristol City.
“I just told him, ‘they are coming mate, you just need the first one’.
“So, with him scoring tonight, hopefully, he will not think about that and move forward.
“I thought all the forward players were good. Borja [Baston] works so hard for the goals he scores, Yan Dhanda took his opportunity and Bersant Celina – like Andre – was a real threat all night.
“I was really pleased with us at the top of the pitch, we looked dangerous. Andre was a really good example of that.”
Ayew has featured in eight of Swansea's games thus far, starting seven of the matches and providing three assists.
He also has two goals to his name in the League Cup.
The 29-year-old returned to Liberty Stadium following a season-long loan at Turkish side Fenerbahce last term.