C.P.
This is an old question but...
What you have described is actually not pregnancy discrimination. They didn't fire you because you were pregnant...they fired you because you essentially missed too much work. As far as I'm aware, it's 6-8 weeks leave to give birth to a child. Unless they had previously approved an extended leave of absense, there's nothing you can really do.