Chaouchi fumbled a harmless looking 79th minute shot from Slovenia captain Robert Koren, allowing the ball to squirt through his arms into the bottom left hand corner of his net.
Algeria had been reduced to 10 men when substitute Abdelkader Ghezzal was sent off in the 73rd for handball having already been booked. He was only on the pitch for 15 minutes.
In Image: In Image: Slovenia's midfielder Aleksander Radosavljevic (L) is challenged by Algeria's midfielder Mehdi Lacen
Text: Reuters
Images: AP