Yep, don't give up. Eventually it'll fall into place and you'll be wondering why it seemed so hard to figure out. :)
It might help to know that some of us had problems at the start that were just as bad.
Like, I spent about 5 years only knowing a D chord and gave up on many occasions. Even resorted to tuning my guitar to an open G so I could play it in my lap and hold barre chords with my thumb. (I could actually play "Smoke on the Water" and "Not Your Stepping Stone" by the Monkees!)