Welcome to Android Forums, maaok.
Low or defective battery can cause this issue. Sometimes it is following an attempted first charge with a defective cable/charging block, while other times it's after the phone has been on long enough to bring it down to non-functionality because of very low charge and is left on when plugged in because it does not have enough power to shut down.
I'd try charging it with what you have. Failing that, new charging cable and battery may be necessary.